import axios from 'axios'
import baseUrl from './uploadUrl'
export function request(config){
    const instance = axios.create({
       baseURL:baseUrl.uploadUrl,
       timeout:20000,
    })
    instance.interceptors.response.use((response)=>{
        return response
    },function(error){
        console.log("error",error)

    })

    return instance(config);
}
